package com.lifang.test6;

import com.lifang.framework.context.config.ApplicationEvent;

public class CustomEvent extends ApplicationEvent {

    private final String message;

    /**
     * 注册原型事件
     */
    public CustomEvent(Object source,String message) {
        super(source);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}
